package top.wshape1.shiziapi.common.exception;

import lombok.Data;

/**
 * @author Wshape1
 * @version 1.0
 * @description
 * @since 2023-08-26
 */

@Data
public class StatusCodeException extends RuntimeException{

    private int status;

    public StatusCodeException(int status) {
        this.status = status;
    }

    public StatusCodeException(String message, int status) {
        super(message);
        this.status = status;
    }
}
